package com.xmotor.testjavaxvalidation.exception;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Description 自定义业务异常
 * @Author Dang Xianyue
 * @Date 2020-09-04 11:54
 * @Version 1.0
 */
@Data
@AllArgsConstructor
public class BusinessException extends Exception {
    private int code;
    private String msg;
}
